CC := icc
OPT := -Ofast -march=corei7
LIBS := -lrt
CFLAGS := $(OPT) 
PROGRAM := desafio
SRC := $(PROGRAM).c
MPI_SRC := $(PROGRAM)_MPI.c

all: $(SRC)
	$(CC) $(SRC) $(CFLAGS) $(LIBS) -o $(PROGRAM) 

mpi: $(SRC)
	mpicc $(MPI_SRC) $(CFLAGS) $(LIBS) -o $(PROGRAM)_MPI

run:
